package com.androway.comparators;

import java.util.Comparator;

import com.androway.domains.Book;

public class BookComparator implements Comparator<Book>
{
	@Override
	public int compare(Book book1, Book book2)
	{
		return book1.getTitle().compareTo(book2.getTitle());
	}

}
